package thread.thread3;

public class TestThread {

	public static void main(String[] args) {
		Account ac = new Account("张洋", 10000);
		MoneyTaker t1 = new MoneyTaker("张洋", ac);
		MoneyTaker t2 = new MoneyTaker("张洋老婆", ac);
		MoneyTaker t3 = new MoneyTaker("张洋小三", ac);
		MoneyTaker t4 = new MoneyTaker("张洋小四", ac);
		t1.start();
		t2.start();
		t3.start();
		t4.start();
	}

}
